home *** CD-ROM | disk | FTP | other *** search
-
- NSend/NGet Version 1.1
-
- Copyright 1994 by Matt E. Hart
-
-
- NSEND11.ZIP
-
- Packing List:
-
- NSEND.EXE
- NGET.EXE
- NSEND.DOC
-
- This program is Shareware. You are free to distribute it as long as all three
- files in the above list are included and unmodified. If you like and use the
- program, please register it by sending $25 U.S. to:
-
- Matt E. Hart
- 2516 W. Kingsport
- Broken Arrow, OK 74011
-
- I will be updating the program periodically. A number of enhancements are
- planned for the future, but will only be included in the registered version.
- The "t" option - send a text file - will be ready for release in the first
- registered version.
-
- Support is available at the above address, or on CompuServe at 75450,3705
- E-Mail can be sent through the Internet to address 75450.3705@compuserve.com
- ------------------------------------------------------------------------------
-
-
- NSEND
- ------------------------------------------------------------------------------
- NSend is a replacement for the SEND command included with NetWare. NSend is
- fully compatible with SEND parameters, except for the station number (which
- nobody uses anyway), so you can replace SEND.EXE with NSEND.EXE. NSend is
- intended as a no-brainer e-mail system. It is fast and easy to use, and
- requires no TSR's. In order for NSend to save messages, all users must have
- read/write priviledges to a \PUBLIC\NSEND directory on the server. Create an
- NSEND sub-directory underneath \PUBLIC before using NSend. The NSend
- parameters are:
-
- NSend {switches} "message text" [TO] [USER|GROUP], [SERVER/USER|GROUP],...
- {switches}
- f Save to file only, don't send
- n Save to file only if unable to send - default
- s Send only - don't save
- b Both save and send
- t Send text file as message (Included with the registered version!)
- Example: C:\>nsend t "c:\updates\update.txt" to mikebohn
-
- The normal SEND command is:
-
- SEND "message text" [TO] [USER|GROUP], [SERVER/USER|GROUP],...
-
-
- NSend adds these switches:
-
- f - No message is broadcast. The "message text" is saved to the user's
- message file.
- n - The message is broadcast. The "message text" is saved to the user's
- message file ONLY if the user did not receive the message. A message
- won't be received if the user is not logged in or attached to a
- server. This is the default NSEND mode and is active when no switches
- are used.
- s - The message is broadcast. The "message text" is NOT saved, regardless
- of whether the user received the message. This is exactly the same as
- the normal SEND command.
- b - The message is broadcast. The "message text" is saved to the user's
- message file.
- t - Send a text file as a message. The "message text" parameter is a path
- and name of a file, rather than a message to be broadcast. Any size
- text file can be sent.
-
- NSend will report the status of sent messages in the same manner as SEND.
- Error messages are:
-
- "t" Parameter errors
- --------------------
- NSend error - File not found {textfile.ext}
- [Unable to locate the file entered in the "message text" parameter]
- NSend error - File empty {textfile.ext}
- [The file entered in the "message text" parameter has no lines]
-
- NSend error - Unable to find preferred or primary server connection
- [Sender isn't logged in]
-
- {file server} - {user/group} - Invalid User
- [A [SERVER/USER|GROUP] parameter is invalid. Sender may not be logged
- in or attached to the server, or the user or group isn't listed on
- that server.]
-
- {file server} - {user} - NOT Sent
- [User isn't logged in or attached]
-
- {file server} - {user} - Sent
- ["message text" was sent to the user]
-
- {file server} - {user} - Unable to save to file {userfile.msg}
- [The "message text" could not be written to a user's file. The sender
- may not have write privileges to the directory, or the directory
- may not have been created.]
-
- {file server} - {user} - Logged to {userfile.msg}
- [The "message text" was saved to the user's file and can be retrieved
- with NGET.]
-
- {file server} - {user} - Server not mapped {file server}
- [The sender has attached or logged into the file server, but has not
- mapped a drive to the server.]
-
-
- Here is a typical NetWare login, attach, map, and NSend procedure:
-
- C:\>ipx Load IPX driver
- C:\>netx Load NETX driver
- F:\LOGIN>login fs1/matthart Login to FS1
-
- Drive Z: = FS1\SYS: \PUBLIC Default drive mappings shown
-
- Z:\PUBLIC>attach fs2/matthart Attach to FS2
- Z:\PUBLIC>map y: = fs2/sys: Map Y: to FS2
- Z:\PUBLIC>attach fs3/matthart Attach to FS3
- Z:\PUBLIC>map x: = fs3/sys: Map X: to FS3
-
- Z:\PUBLIC>nsend "hello" to everyone,fs2/everyone,fs3/everyone
-
- Since I logged into FS1, FS1 becomes my "preferred" and "primary" server.
- Messages sent to users or groups without specifying a file server will default
- to the preferred or primary server.
- ------------------------------------------------------------------------------
-
-
- NGET
- ------------------------------------------------------------------------------
- NGet is used in conjunction with NSend. NGet retrieves any saved messages or
- text files and displays them. The messages are shown, along with the date
- and time they were sent, in a last sent first shown order. The last message
- sent to you is shown at the top of the list, with the oldest message sent
- at the bottom. The only NGet parameter is:
-
- NGet {config file}
-
- The {config file} is a color and print configuration file. Also, you can
- use an environment command to set the config file. Use the command:
-
- SET NGET={config file}
-
- so the NGet will always load the {config file}. The config file format is:
-
- [COLORS]
- Foreground Normal Default is 7
- Background Normal Default is 0
- Foreground Highlight Default is 0
- Background Highlight Default is 7
- [PRINTER]
- Printer Port (1 or 2) Default is 1
-
- For example, I use:
-
- [COLORS]
- 7,0,14,4
- [PRINTER]
- 1
-
- saved to NGET.CFG. The command:
-
- C:\>SET NGET=C:\UTIL\NGET.CFG
-
- is in my AUTOEXEC.BAT.
-
- NGet startup messages are:
-
- NGet Error - Configuration File
- [There was an error loading the configuration file information]
-
- Loading Attached Server Information...
- Found {message file} On {server name}
- Found {message file} On {server name}
- No Messages in {message file}
- [NGet will retrieve the message file names from attached servers.
- NGet assumes that the higher drive letters will be mapped to the
- servers, while lower drive letters will most likely be temporary
- drives assigned during login. Regardless, all files with messages
- for the attached user will be loaded.]
-
- NGet - No Messages Found
- Attached to {servers}
- Attached to {servers}
- [NGet has found valid attachments, but no messages. The user
- simply has no messages.]
-
- Loading Message Files...
- Server {servers}
- Server {servers}
- [NGet is loading the message files]
-
- The NGet message viewer
- -----------------------
- Once the messages have been loaded, a screen similiar to this will appear:
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ 01-17-1994 10:30 SUPERVISOR[15]: Testing NSend ║
- ║ 01-17-1994 10:00 BOBBYJONES[20]: I need that report! ║
- ║ 01-17-1994 09:00 JENNIFERJN[10]: Why were you late? ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ ║
- ║ FS1 as MATTHART├────────────────────────────────────────────────────────── ║
- ║ F1:Help Alt-C:Clear Alt-D:Del Line F9:Previous F10:Next Esc:Exit ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-
- The current file server and login/attachment name is at the lower left corner
- of the screen. Press F10 or F9 to switch to another message file, if one
- exists. NGet will load all messages for any attachments and mappings your
- system has loaded. For example, I may be "MATTHART" on FS1, "MATTH" on FS2,
- and "SUPERVISOR" on FS3. If I am attached to all three servers, and I have
- mapped all three servers to a drive letter, then NGet will retrieve all
- three message files, and I can switch between them with F9/F10. Once a message
- line has been read, press Alt-D to delete it. You can press Alt-C to erase the
- entire file. Press F1 for key help. If all messages have been deleted, you
- will receive the message "No more messages." at the top of the screen. You
- will receive the same message if no more messages exist when you press F9/F10.
- If additional messages have been logged while you were viewing, you will
- receive the message "You have additional messages. Do you want to view them
- now?" Press "Y" to view the messages, or "N" or "Esc" to continue. This
- option is given when you escape or go to the next message file and NGet detects
- new messages.
- ------------------------------------------------------------------------------
-
- NSend and NGet are written in Microsoft Professional Basic v. 7.1 with the
- QuickNet library from EllTech. Tony Elliot of EllTech can be reached on
- CompuServe at 76220,2575 for more information regarding QuickNet. Tell him
- that Matt Hart sent you!
-
- Special thanks (and some of your registration dollars) go to Mike Bohn for
- the algorithms needed for NSend. Basically, he didn't have the time to finish
- it or write NGet, so he gave me the code and said, "Make it work, please."
-
- If you are a Windows user, check out The RIGHT Button in the WINSHARE forum
- of CompuServe, also by Mike and I.
-
- Watch for a Windows version of NSend and NGet in the near future.
-
- ------------------------------------------------------------------------------
- ---------------------------------------------------------------------------
- NSend/NGet Registration Form
-
- Mail to:
- Matt E. Hart
- Postal:
- 2516 W. Kingsport
- Broken Arrow, OK 74011
- CompuServe:
- 75450,3705
-
- Name _______________________________________________________________
-
- Address ____________________________________________________________
-
- City, State, Zip ___________________________________________________
-
- Type of Computer ___________________________________________________
-
- Software Used ______________________________________________________
-
- Disk Preference [ ] 5.25" [ ] 3.5"
-
- Number of disks ________
-
- Cost per disk 25.00
-
- Source code [ ] 200.00
-
- Amount Enclosed ________
-
- Suggestions, Comments ______________________________________________
-
- ____________________________________________________________________
-
- ____________________________________________________________________
- ------------------------------------------------------------------------------
-